From: Brion Vibber Date: Thu, 29 Mar 2007 14:25:07 +0000 (+0000) Subject: * (bug 5817) Special:Recentchangeslinked now shows red link for nonexistent target... X-Git-Tag: 1.31.0-rc.0~53544 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=51fb6ae2bfc8d7685cea93033a5b4746390a2a50;p=lhc%2Fweb%2Fwiklou.git * (bug 5817) Special:Recentchangeslinked now shows red link for nonexistent target page instead of silently redirecting. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 7d13d59ff4..5f9343cdde 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -286,6 +286,9 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 9411) Fix for shared image descriptions using query-string titles * (bug 4756) Add user tool links for self created accounts at special:log instead of sometimes broken block links from newuserlog extension +* (bug 5817) Special:Recentchangeslinked now shows red link for nonexistent + target page instead of silently redirecting. + == Maintenance == * New script maintenance/language/checkExtensioni18n.php used to check i18n diff --git a/includes/SpecialRecentchangeslinked.php b/includes/SpecialRecentchangeslinked.php index a9c584f5f9..14508d3a8b 100644 --- a/includes/SpecialRecentchangeslinked.php +++ b/includes/SpecialRecentchangeslinked.php @@ -137,7 +137,7 @@ $GROUPBY } $res = $dbr->query( $sql, $fname ); - $wgOut->addHTML("< ".$sk->makeKnownLinkObj($nt, "", "redirect=no" )."
\n"); + $wgOut->addHTML("< ".$sk->makeLinkObj($nt, "", "redirect=no" )."
\n"); $note = wfMsgExt( "rcnote", array ( 'parseinline' ), $limit, $days, $wgLang->timeAndDate( wfTimestampNow(), true ) ); $wgOut->addHTML( "
\n{$note}\n
" );